home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / ispell-3.1 / english.aff < prev    next >
Text File  |  1995-07-02  |  6KB  |  163 lines

  1. #
  2. # $Id: english.aff,v 1.15 1994/01/25 07:12:40 geoff Exp $
  3. #
  4. # Copyright 1992, 1993, Geoff Kuenning, Granada Hills, CA
  5. # All rights reserved.
  6. #
  7. # Redistribution and use in source and binary forms, with or without
  8. # modification, are permitted provided that the following conditions
  9. # are met:
  10. #
  11. # 1. Redistributions of source code must retain the above copyright
  12. #    notice, this list of conditions and the following disclaimer.
  13. # 2. Redistributions in binary form must reproduce the above copyright
  14. #    notice, this list of conditions and the following disclaimer in the
  15. #    documentation and/or other materials provided with the distribution.
  16. # 3. All modifications to the source code must be clearly marked as
  17. #    such.  Binary redistributions based on modified source code
  18. #    must be clearly marked as modified versions in the documentation
  19. #    and/or other materials provided with the distribution.
  20. # 4. All advertising materials mentioning features or use of this software
  21. #    must display the following acknowledgment:
  22. #      This product includes software developed by Geoff Kuenning and
  23. #      other unpaid contributors.
  24. # 5. The name of Geoff Kuenning may not be used to endorse or promote
  25. #    products derived from this software without specific prior
  26. #    written permission.
  27. #
  28. # THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS IS'' AND
  29. # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  30. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  31. # ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF KUENNING OR CONTRIBUTORS BE LIABLE
  32. # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  33. # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  34. # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  37. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  38. # SUCH DAMAGE.
  39. #
  40. #    Affix table for English
  41. #
  42. # $Log: english.aff,v $
  43. # Revision 1.15  1994/01/25  07:12:40  geoff
  44. # Get rid of all old RCS log lines in preparation for the 3.1 release.
  45. #
  46. #
  47.  
  48. nroffchars    ().\\*
  49. texchars    ()\[]{}<\>\\$*.%
  50.  
  51. # First we declare the character set.  Since it's English, it's easy.
  52. # The only special character is the apostrophe, so that possessives can
  53. # be handled.  We declare it as a boundary character, so that quoting with
  54. # single quotes doesn't confuse things.  The apostrophe is the only
  55. # character that gets such treatment.
  56. #
  57. # We declare the apostrophe first so that "Jon's" collates before "Jonas".
  58. # (This is the way ASCII does it).
  59. #
  60.  
  61. defstringtype "nroff" "nroff" ".mm" ".ms" ".me" ".man"
  62.  
  63. boundarychars '
  64. wordchars [a-z] [A-Z]
  65.  
  66. altstringtype "tex" "tex" ".tex" ".bib"
  67.  
  68. # Here's a record of flags used, in case you want to add new ones.
  69. # Right now, we fit within the minimal MASKBITS definition.
  70. #
  71. #            ABCDEFGHIJKLMNOPQRSTUVWXYZ
  72. # Used:      *  *  ****  ** * ***** ***
  73. #            A  D  GHIJ  MN P RSTUV XYZ
  74. # Available:  -- --    --  - -     -
  75. #             BC EF    KL  O Q     W
  76.  
  77. # Now the prefix table.  There are only three prefixes that are truly
  78. # frequent in English, and none of them seem to need conditional variations.
  79. #
  80. prefixes
  81.  
  82. flag *A:
  83.     .        >    RE        # As in enter > reenter
  84.  
  85. flag *I:
  86.     .        >    IN        # As in disposed > indisposed
  87.  
  88. flag *U:
  89.     .        >    UN        # As in natural > unnatural
  90.  
  91. # Finally, the suffixes.  These are exactly the suffixes that came out
  92. # with the original "ispell";  I haven't tried to improve them.  The only
  93. # thing I did besides translate them was to add selected cross-product flags.
  94. #
  95. suffixes
  96.  
  97. flag V:
  98.     E        >    -E,IVE        # As in create > creative
  99.     [^E]    >    IVE        # As in prevent > preventive
  100.  
  101. flag *N:
  102.     E        >    -E,ION        # As in create > creation
  103.     Y        >    -Y,ICATION    # As in multiply > multiplication
  104.     [^EY]    >    EN        # As in fall > fallen
  105.  
  106. flag *X:
  107.     E        >    -E,IONS        # As in create > creations
  108.     Y        >    -Y,ICATIONS    # As in multiply > multiplications
  109.     [^EY]    >    ENS        # As in weak > weakens
  110.  
  111. flag H:
  112.     Y        >    -Y,IETH        # As in twenty > twentieth
  113.     [^Y]    >    TH        # As in hundred > hundredth
  114.  
  115. flag *Y:
  116.     .        >    LY        # As in quick > quickly
  117.  
  118. flag *G:
  119.     E        >    -E,ING        # As in file > filing
  120.     [^E]    >    ING        # As in cross > crossing
  121.  
  122. flag *J:
  123.     E        >    -E,INGS        # As in file > filings
  124.     [^E]    >    INGS        # As in cross > crossings
  125.  
  126. flag *D:
  127.     E        >    D        # As in create > created
  128.     [^AEIOU]Y    >    -Y,IED        # As in imply > implied
  129.     [^EY]    >    ED        # As in cross > crossed
  130.     [AEIOU]Y    >    ED        # As in convey > conveyed
  131.  
  132. flag T:
  133.     E        >    ST        # As in late > latest
  134.     [^AEIOU]Y    >    -Y,IEST        # As in dirty > dirtiest
  135.     [AEIOU]Y    >    EST        # As in gray > grayest
  136.     [^EY]    >    EST        # As in small > smallest
  137.  
  138. flag *R:
  139.     E        >    R        # As in skate > skater
  140.     [^AEIOU]Y    >    -Y,IER        # As in multiply > multiplier
  141.     [AEIOU]Y    >    ER        # As in convey > conveyer
  142.     [^EY]    >    ER        # As in build > builder
  143.  
  144. flag *Z:
  145.     E        >    RS        # As in skate > skaters
  146.     [^AEIOU]Y    >    -Y,IERS        # As in multiply > multipliers
  147.     [AEIOU]Y    >    ERS        # As in convey > conveyers
  148.     [^EY]    >    ERS        # As in build > builders
  149.  
  150. flag *S:
  151.     [^AEIOU]Y    >    -Y,IES        # As in imply > implies
  152.     [AEIOU]Y    >    S        # As in convey > conveys
  153.     [SXZH]    >    ES        # As in fix > fixes
  154.     [^SXZHY]    >    S        # As in bat > bats
  155.  
  156. flag *P:
  157.     [^AEIOU]Y    >    -Y,INESS    # As in cloudy > cloudiness
  158.     [AEIOU]Y    >    NESS        # As in gray > grayness
  159.     [^Y]    >    NESS        # As in late > lateness
  160.  
  161. flag *M:
  162.     .        >    'S        # As in dog > dog's
  163.